package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.MallCategory;

import java.util.List;

/**
 * 商城类目Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface MallCategoryMapper extends BaseMapper<MallCategory>
{
    /**
     * 查询商城类目
     * 
     * @param id 商城类目ID
     * @return 商城类目
     */
    public MallCategory selectMallCategoryById(Long id);

    /**
     * 查询商城类目列表
     * 
     * @param mallCategory 商城类目
     * @return 商城类目集合
     */
    public List<MallCategory> selectMallCategoryList(MallCategory mallCategory);

}
